<?php $theme_options = get_option('po_theme'); ?>

<div class="clear"><!-- --></div>
</div><!-- end cc -->
</div><!-- end content -->
</div><!-- end wrapper -->

<?php	$p = $theme_options['portfolio_cat'];?>
<div id="<?php if ( is_page_template('page-full-width.php') || is_category($p) ) {echo "sub1";} else {echo "sub2";} ?>"><!-- --></div>

<div id="footer">
	<div id="footerarea">
		<?php //INCLUDE FOOTER SIDEBARS
			include(TEMPLATEPATH."/inc/footer_sidebars.php");
		?>
		<div id="copyrights">
			<div class="fl w440 f11">
				<?php if ($theme_options["copyrights"] <>"" ) { echo $theme_options["copyrights"] ;} else { echo "&copy; 2010 Company Name";} ?>
			</div>
			<div class="fr w440 right f11">
				<?php if($theme_options["panda_link_display"] =="Display") { ?>WordPress Theme by <a rel="nofollow" href="http://pandathemes.com/">pandathemes.com</a><?php ;} ?>
			</div>
            <div class="fr w440 right f11">
				<a href="http://www.najeebmedia.com/privacy-and-refund-policies/">Privacy & Refund Policy</a>
			</div>
		</div><!-- end copyrights -->
	</div>

	<div class="clear"><!-- --></div>
</div><!-- end footer -->

<div class="h10"><!-- --></div>

</div><!-- end layout -->
<script src="<?php bloginfo('template_url'); ?>/js/jquery.prettyPhoto.js" type="text/javascript"></script>
<script type="text/javascript">$(document).ready(function(){ 
/* FLOAT FIX FOR FF 3.5 but this fix scares IE7 */
<!--[if !(IE 7)]>$('ul#foo').stop().animate({width:940},1000).stop().css('display','table');<![endif]-->
<?php if (
	$theme_options["portfolio_posts_template"]=="2-in-row"
	) { ?>
/* RECENT WORKS 2-in-row // ROLLOVER IMAGE */
	$('.item3 img').mouseenter(function(){
		$(this).stop(true, false).animate({ opacity: '0' }, 'fast');
	})
	$('.item3 img').mouseleave(function(){
		$(this).stop(false, false).animate({ opacity: '1' }, 'fast', fix);
			function fix() {
				if ($('.item3 img').mouseleave) {
					$(this).animate({ opacity: '1' }, 'fast')
				}
			}
	})
<?php ;} ?>
/* SIDEBAR TABS // HORIZONTAL // FLOWPANELS */
$('#flowpanes7').scrollable({
	vertical:false,
	size:1,
	speed:300,
	onReload: f7height,
	onSeek: f7height
	}).navigator({
		navi: '.ui-tabs-nav',
		naviItem: 'li',
		activeClass: 'ui-tabs-selected'
	});
	function f7height() {
		var i7 = this.getIndex();
		var fg = $('#flowpanes7').find('div.item:eq('+i7+')');
		var f7 = fg.height()+14;
		$('#flowpanes7').find('div.item:eq('+i7+')').css({height:f7-14});
		this.getRoot().stop().animate({height:f7},300);
	};
/* PRETTYPHOTO FIX VALIDATION */
	$("a[rel^='prettyPhoto']").attr('rel', 'prettyPhoto[my_gallery]');	
/* PRETTYPHOTO FOR FLICKR */
	$('.flickr_badge_image').find('a').attr({
		rel: 'prettyPhoto[flickr]',
		href: function() {
			var src = $(this).find('img').attr('src');
			var href = src.replace(/_s.jpg/g,'.jpg');
			return href;
		}
	});
/* PRETTYPHOTO ACTIVATION */
	$("a[rel^='prettyPhoto']").prettyPhoto();
/* TOGGLE */
	$('div.toggle').click(function () {
	$(this).next('div.toggle_content').toggle(250);
	});
	
	$('div.toggle').toggle(
	function () { $(this).css('background-position', 'left -68px'); },
	function () { $(this).css('background-position', 'left 12px'); }
	);
/* REMOVE THE TITLES OF MENU */
	$('.menu').find('a').attr({ title: '' }
	);
/* TABS ACTIVATION */
$('.tabs-dots').removeClass('none');
});
</script>
<?php
wp_footer();
echo $theme_options["google_analytics"];
?>
<?php // CUFON Qlassik
if ($theme_options['titles_font']=="QlassikBoldRegular") { ?>
<script src="<?php bloginfo('template_url'); ?>/js/cufon-yui.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_url'); ?>/fonts/Qlassik_TB-cufon.js" type="text/javascript"></script>
<script type="text/javascript">Cufon.replace('h1, h2, h3, h4, .prc, blockquote, #commentform #submit, .feederss-label, .feedemail-label, .dropcap, #contentbox form .pushbutton-wide', { hover: true }, { fontFamily: 'Qlassik Medium' });</script>
<style type="text/css">
.feederss-label, .feedemail-label {margin:-2px 0 0 0;}
</style>
<?php ;} ?>
<?php // CUFON Fertigo
if ($theme_options['titles_font']=="FertigoProRegular") { ?>
<script src="<?php bloginfo('template_url'); ?>/js/cufon-yui.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_url'); ?>/fonts/Fertigo_Pro_400.font.js" type="text/javascript"></script>
<script type="text/javascript">Cufon.replace('h1, h2, h3, h4, .prc, blockquote, #commentform #submit, .feederss-label, .feedemail-label, .dropcap, #contentbox form .pushbutton-wide', { hover: true }, { fontFamily: 'Fertigo Pro' });</script>
<style type="text/css">
.feederss-label, .feedemail-label {margin:-2px 0 0 0;}
</style>
<?php ;} ?>
<?php // CUFON Colaborate
if ($theme_options['titles_font']=="ColaborateLight") { ?>
<script src="<?php bloginfo('template_url'); ?>/js/cufon-yui.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_url'); ?>/fonts/ColaborateLight_400.font.js" type="text/javascript"></script>
<script type="text/javascript">Cufon.replace('h1, h2, h3, h4, .prc, #commentform #submit, .feederss-label, .feedemail-label, .dropcap, #contentbox form .pushbutton-wide', { hover: true }, { fontFamily: 'Colaborate Light' });</script>
<style type="text/css">
.feederss-label, .feedemail-label {margin:-2px 0 0 0;}
</style>
<?php ;} ?>
<div id="admin" class="none"><div class="flickr_id"><?php echo $theme_options['featured_flickr']; ?></div><div class="flickr_target"><?php echo $theme_options['flickr_target']; ?></div><div class="rotation"><?php echo $theme_options['featured_thumbs_rotation']; ?></div></div>
<style type="text/css" media="all">
#ie6 {display:none;padding:20px;}
#ie6 img {float:left; margin:0 20px 0 0; width:90px; height:130px;}
</style>
<div id="ie6">
<h3>Sorry, you can't to browse this website.</h3>
<p>Because you are using an outdated version of MS Internet Explorer. For a better experience using websites, please upgrade to a modern web browser.</p>
<a rel="nofollow" href="http://firefox.com" title="Mozilla Firefox"><img src="<?php bloginfo('template_url'); ?>/images/logo_ff.gif" alt="Mozilla Firefox"/></a>
<a rel="nofollow" href="http://www.browserforthebetter.com/download.html" title="Microsoft Internet Explorer"><img src="<?php bloginfo('template_url'); ?>/images/logo_ie.gif" alt="Microsoft Internet Explorer"/></a>
<a rel="nofollow" href="http://www.apple.com/safari/download/" title="Apple Safari"><img src="<?php bloginfo('template_url'); ?>/images/logo_sf.gif" alt="Apple Safari"/></a>
<a rel="nofollow" href="http://www.google.com/chrome" title="Google Chrome"><img src="<?php bloginfo('template_url'); ?>/images/logo_ch.gif" alt="Google Chrome"/></a>
</div>
<script type="text/javascript">Cufon.now();</script>
</body></html>